package io.renren.modules.generator.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.generator.dto.DeviceWarningQuotaMainDto;
import io.renren.modules.generator.entity.DeviceAllEntity;

import java.util.Map;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-09-06 10:26:46
 */
public interface DeviceAllService extends IService<DeviceAllEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void putStatisticsDataForHour();

    String selectAvgQuota(Map<String, String> queryMap);

    void getRemoteDatas();

    void putStatisticsForDays();

    void putStatisticsForYears();

    Map<String, DeviceWarningQuotaMainDto> actualquota(String[] deviceCodes);
}

